﻿using System.Configuration;
using NDBGen.Configuration;

namespace NDBGen.Tests
{
    public static class ConfigrationExtensions
    {
        public static void Add<T>(this GenericElementCollection<T> col, T element)
            where T : ConfigurationElement, ICollectionItemElement, new()
        {
            col.Add(element);
        }
    }
}